package com.magpiebridge.service;

import com.magpiebridge.pojo.News;

import java.util.List;

public interface NewsService {
    List<News> getAllNews();
    News getNewsById(Integer id);
    int insertNews(News news);
    int updateNews(News news);
    int deleteNews(Integer id);


}
